StoreEngine\Classes\Price A

Total Complexity 71
Dependencies 7
Dependents 7
Total lines 396
Lines of code 263
Logical lines of code 133
Comment lines 32
Methods 50
Properties 6

Methods 50

Method Rating Maintainability Complexity Lines of code
get_integrations()
S
54 5 21
get_price_suffix()
S
57 4 15
get_price_html()
S
59 4 13
get()
S
58 3 15
delete()
S
60 3 12
save()
S
54 2 20
get_formatted_payment_duration()
S
67 3 7
add_integration()
S
62 2 12
get_compare_price()
S
75 2 4
get_prop()
S
70 2 6
get_prop_setting()
S
70 2 6
set_data()
S
62 1 11
set_type()
S
80 1 3
set_setup_fee_name()
S
80 1 3
set_price()
S
80 1 3
set_compare_price()
S
80 1 3
set_order()
S
80 1 3
set_setup_fee()
S
80 1 3
set_expire()
S
80 1 3
set_setup_fee_price()
S
80 1 3
set_setup_fee_type()
S
80 1 3
set_trial()
S
80 1 3
set_trial_days()
S
80 1 3
set_expire_days()
S
80 1 3
set_payment_duration()
S
80 1 3
set_payment_duration_type()
S
80 1 3
set_upgradeable()
S
80 1 3
set_name()
S
80 1 3
__construct()
S
73 1 5
set_product_id()
S
80 1 3
get_order_no()
S
79 1 3
set_id()
S
81 1 3
remove_integration()
S
67 1 8
get_id()
S
82 1 3
get_product_id()
S
79 1 3
get_type()
S
80 1 3
is_subscription()
S
80 1 3
get_name()
S
80 1 3
get_price()
S
79 1 3
is_setup_fee()
S
79 1 3
is_upgradeable()
S
79 1 3
get_setup_fee_name()
S
80 1 3
get_setup_fee_price()
S
79 1 3
get_setup_fee_type()
S
80 1 3
is_trial()
S
79 1 3
get_trial_days()
S
79 1 3
is_expire()
S
79 1 3
get_expire_days()
S
79 1 3
get_payment_duration_type()
S
80 1 3
get_payment_duration()
S
80 1 3